/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ems.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ems.entity.EmsArea;
import com.thinkgem.jeesite.modules.ems.dao.EmsAreaDao;

/**
 * 区域Service
 * @author zad
 * @version 2018-01-25
 */
@Service
@Transactional(readOnly = true)
public class EmsAreaService extends CrudService<EmsAreaDao, EmsArea> {

	public EmsArea get(String id) {
		return super.get(id);
	}
	
	public List<EmsArea> findList(EmsArea emsArea) {
		return super.findList(emsArea);
	}
	
	public Page<EmsArea> findPage(Page<EmsArea> page, EmsArea emsArea) {
		return super.findPage(page, emsArea);
	}
	
	@Transactional(readOnly = false)
	public void save(EmsArea emsArea) {
		super.save(emsArea);
	}
	
	@Transactional(readOnly = false)
	public void delete(EmsArea emsArea) {
		super.delete(emsArea);
	}
	
}